begin ClearBounty ;Starts the Script

;Created by Richard Lentz

short OnPcEquip ;Needed for "OnPCEquip" command

if ( MenuMode == 1 ) ;If in menu script will wait untill out of menu
	Return
endif

if ( OnPCEquip == 1 ) ;If equipped script will continue to run
	MessageBox, "Bounty Cleared" ;Display's message "Bounty Cleared"
	SetPCCrimelevel, 0 ;Sets bounty to 0
endif
	Set OnPCEquip to 0 ;Resets OnPCEquip to 0 so that the next time you equip "if ( OnPCEquip == 1 )" will run agian

End ClearBounty ;Stops the script